Method for modulating digital data and apparatus therefor

ABSTRACT

A method for modulating digital data and apparatus therefor is capable of determining digital data stream coded by Run Length Limited (hereinafter as RLL) swiftly and precisely so as to record data in a record medium. To achieve the method and apparatus, the digital data modulating method includes the steps of comparing a preset critical value and DSV of a certain digital data stream, computing the penalty of the digital data stream by multiplying the number of the time that the DSV of the digital data stream is larger than the critical value by a preset weight value of the critical value and comparing the penalty of the digital data and a penalty of another digital data stream and determining a digital data stream with a smaller penalty for the digital data stream. Therefore, with the method for modulating digital data and apparatus therefor, digital data stream which will be modulated among a number of digital data streams can be selected precisely and swiftly

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a method for modulating digital data and apparatus therefor and particularly, to a method for modulating digital data and apparatus therefor which determines digital data stream coded by Run Length Limited (hereinafter as RLL) swiftly and precisely so as to record data in a record medium.

[0003] 2. Description of the Background Art

[0004] Generally, Non-return-to-Zero-Inverse (hereinafter NRZI) code shows that no change is in magnetic flux of a record medium if the signal detected in the record medium is a binary number ‘0’ and that the direction of magnetic flux recorded in the record medium is reversed if the signal detected in the record medium is a binary number ‘1’ thus to record data in the record medium and detects or regenerate the recorded signal.

[0005] Recently, by the Run Length Limited (Hereinafter as RLL) code in which the concept of the NRZ code is expanded, a 8 bit data is modulated to a 16 bit data and the modulated code word is recorded in a record medium. At this time, the code word should satisfy these two restriction conditions.

[0006] The first restriction condition is that among bits having consecutive 1, at least a bit having ‘o’ value bit should exist. For instance, a data bit becomes three times as large as a data record density stored without a specific condition and accordingly, the data is recorded in the record medium with a high record density. At this time, on the first restriction condition, the data recorded in the record medium should be positioned in the distance that magnetic flux polarity of the data bit can be sorted even though the data is recorded in the record medium with a high record density. Namely, the first restriction condition is that bits having a certain ‘0’ bit value in the record medium are recorded and symbols do not intervene each other when the recorded data is regenerated.

[0007] Also, the second restriction condition is that the numbers of bits having 0 value bits should not many among the bits having consecutive 1 value bits. If the bits which have 0 value are not spread but is formed in a stream, the clock which generates a phase lock circuit is not motivated. Therefore, clock signals can be restored from the regenerated data by locking the phase lock circuit in the position where transition of the regenerated data is performed.

[0008] However, the data stream modulated satisfying the restriction conditions generally includes DC component. If the data stream in which the DC component is not removed is recorded in the record medium, when the data stream is regenerated, error signals such as tracking errors of the record medium are generated and accordingly, normal output of regeneration data can not be performed. Namely, the DC composition signals interrupt the recorded digital signals from dealing with low frequency components normally. By removing the low frequency components, consecutive tracking controlling is enabled and accordingly when the data recorded in the record medium is detected through the optical recording carrier, the recorded data can be normally regenerated. Therefore, if the low frequency components are controlled properly, tracking controlling of the record medium is capable of not being influenced on the low frequency components.

[0009] Therefore, to solve the problems that the DC components are included in the modulated data, the Digital Sum Value (hereinafter as DSV) of modulated data stream controlling technique is developed. Here, the DSV, for example, in case of using NRZI modulating method, is obtained by modulating the m units of source words into n units of channel words and adding up the channel words. At this time, the NRZI modulating method allocate a binary number ‘0’ bit of the channel words to −1 value and a binary number ‘1’ bit is allocated to a ‘+1’ value. Therefore, a digital data stream having a small DSV becomes a digital data stream containing small amount of DC component.

[0010] The method for controlling the DSV of digital data stream in accordance with the conventional art is described as follows.

[0011]FIG. 1a and FIG. 1b are tables showing the first and second digital data stream to describe the method how to determine digital data stream according to the conventional art and the table includes a bipolar code stream obtained from each bit of the first, and second digital data stream, the DSV obtained from the bipolar code stream and an absolute value of the DSV and the squared value of the DVS obtained from the DVS.

[0012] (1) Method Using the Value of DSV

[0013] For example, in case of comparing the DSV value of each of the first and second data stream for 4 bites, as shown in FIG. 1a, the DSV of the first digital data stream is 4 and as shown FIG. 1b, the DSV of the second digital data stream is 0. Therefore, the second digital data stream is determined as a code word since the small DSV of the second digital data stream is fit to the data stream condition having a small DC component.

[0014] (2) Method Using the Absolute Value of DSV

[0015] In case of comparing the absolute value of the DSV for 4 bites, as shown in FIG. 1a, the absolute value of the DSV of the first digital data stream is 50 1+0+1+0+, . . . , +2+3+4), and as shown in FIG. 1b, the absolute value of the DSV of the second digital data stream is 39 (1+0+1+0, . . . , +0+1+0). Accordingly, the second digital data stream is determined as a code word since the small DSV of the second digital data stream fits the data stream condition having a small DC component.

[0016] (3) Method Using Squared Value of DSV

[0017] In case of comparing the squared value of the DSV for 4 bites, as shown in FIG. 1a, the squared value of the DSV of the first digital data stream is 118 (1+0+1+0+, . . . , +4+9+16), and as shown in FIG. 1b, the squared value of the DSV of the second digital data stream is 92 (1+0+1+0, . . . , +0+1+0). Accordingly, the second digital data stream is determined as a code word since the small DSV of the second digital data stream fits the data stream condition having a small DC component.

[0018] (4) Method Using Critical Value of DSV (a Method Thereby for Determining a Digital Data Stream with a Small DC Component as the Code Word According to the Number of the DVS Larger than the Level of a Certain Critical Value)

[0019]FIG. 2a and FIG. 2b are graphs showing each size of the DSV of the FIG. 1a and FIG. 1b according to the conventional art. For example, the number of the DSV having bigger value than the level of M=|−M|=2 as shown in FIG. 2a, for the first digital data stream is 15 times, and for the second digital data stream is 12. Therefore, the second digital data stream having a small number of the DSV which are larger than a certain critical level is determined as a code word.

[0020] It is described that the conventional modulating method for a digital data stream determines by using the DSV calculated in terms of bit, absolute value of the DSV and the squared value of the DSV. However, actually, the digital data stream is determined by using the calculated value in terms of bite or word.

[0021] However, the conventional data modulating methods described above has a disadvantage that the circuit is large and accordingly, the composition of the hardware is very complicated and the efficiency is not good compared to the size of the circuit since many multipliers are necessary to select the second digital data stream when it is realized in the form of hardware.

[0022] On the other hand, to reduce the influence of noise such as the DC component, there is a modulating method of maintaining the DSV by adding a merging bit to the source data stream, but the method has a disadvantage of reducing modulating efficiency of the source data stream and of reducing record density.

SUMMARY OF THE INVENTION

[0023] The object of the present invention is to provide a method for modulating digital data and apparatus therefor for determining the digital data stream having the minimum DSV swiftly and precisely.

[0024] Another object of the present invention is to provide a method for modulating digital data and apparatus therefor for determining the digital data stream having the minimum DSV using weight values corresponding to the DSV and preset critical value swiftly and precisely.

[0025] To achieve these objects, the digital data modulating method in accordance with the present invention includes the steps of: comparing a preset critical value and DSV of a certain digital data stream; computing the penalty of the digital data stream by multiplying the number of the time that the DSV of the digital data stream is larger than the critical value by a preset weight value of the critical value; and comparing the penalty of the digital data and a penalty of another digital data stream and determining a digital data stream with a smaller penalty for the digital data stream.

[0026] The apparatus for modulating digital data includes: a DSV calculating unit for computing DSV of the inputted digital data; a DSV lever detector for outputting the weight value corresponding to the critical values comparing the DSV and the preset critical value; and a penalty generating unit for generating a penalty of the digital data stream using the DSV detected by the level detector.

BRIEF DESCRIPTION OF THE DRAWINGS

[0027]FIGS. 1a and 1 b are tables showing the first and second data stream for describing the method to determine digital data steam according to the conventional art.

[0028]FIGS. 2a and 2 b are graphs showing the size of the DSV in FIGS. 1a and 1 b in accordance with the conventional art.

[0029]FIG. 3 is a block diagram showing an apparatus for modulating digital data stream in accordance with the present invention.

[0030]FIG. 4 is a flow chart showing a method for modulating digital data stream in accordance with the present invention.

[0031]FIGS. 5a and 5 b are tables showing the first and second digital data stream for describing how to determine the digital data stream in accordance with the present invention.

[0032]FIGS. 6a and 6 b are graphs showing the size of the DSV of a pair of critical values in FIGS. 5a and 5 b according to the present invention.

[0033]FIGS. 7a and 7 b are graphs showing the size of DSV of a plurality of critical values in FIGS. 5a and 5 b according to the present invention.

[0034]FIG. 8a is a table showing a case in which each pair of weight values allocated to a plurality of critical values centering around the DSV of ‘0’ have same value symmetrically.

[0035]FIG. 8b is a table showing the case in which the weight values allocated to upper critical values and those of lower critical values centering around the DSV of ‘0’ are different each other.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0036]FIG. 3 is a block diagram showing an apparatus for modulating digital data stream in accordance with the present invention and the apparatus for modulating digital data includes: a DSV calculating unit 1 for computing DSV of the inputted digital data; a plurality of level detectors 2-1, 2-2, . . . , and 2-n for outputting the weight value corresponding to the DSV; a weight value switching unit 3 for outputting only the weight values detected by the level detectors 2-1, 2-2, . . . , and 2-n; a weight value adder 4 for adding the outputted weight values; and a penalty generating unit 5 for generating a penalty of the digital data stream using the added weight value and the data block flag.

[0037] The operation of the apparatus for modulating digital data stream in accordance with the present invention will be described.

[0038]FIG. 4 is a flow chart showing the method for modulating digital data stream in accordance with the present invention. The first step ST1 is to receive a digital data stream. For example, after executing a Non-Return-to-Zero-Inverse (NRZI) coding, a DSV of the coded digital data stream is calculated. The second step ST2 is, for example, to perform NRZI coding and then compute the DSV of the coded digital data stream. The third step ST3 is to determine weight values from the critical values of a number of preset levels corresponding to the computed DSV. The fourth step ST4 is to compute the penalty by multiplying the weight value by the levels. The fifth step ST5 and sixth step ST6 are to select and output a digital data stream having smaller penalty by comparing different digital data streams from the above described digital data stream. The method for selecting the digital data stream will be described here in detail.

[0039] (1) Method for Selecting Digital Data Stream Using a Pair of Critical Value Levels and the Corresponding Weight Values

[0040]FIGS. 5a and 5 b are tables showing the first and second digital data stream for describing method for modulating digital data stream in accordance with the present invention and it contains bipolar code streams from the first and second digital data streams and the DSV obtained from the bipolar code streams.

[0041]FIGS. 6a and 6 b are graphs showing the size of the DSV of a pair of critical values in FIGS. 5a and 5 b according to the present invention and the DSV of the digital data stream corresponding to the pair of critical levels M1 and M2 set centering around the DSV of ‘0’ is marked in the graph. At this time, to DSV smaller than the absolute value of the critical value(for example, 2) weight value of ‘0’ is allocated and to larger DSV, weight value of ‘2’ is allocated. Accordingly, a digital data stream having smaller DSV among a plurality of digital data streams is determined precisely and swiftly by imposing penalty to the bits out of the critical value level. Therefore, the penalty P of a digital data stream, as shown in following equation 1, is obtained precisely and swiftly by adding weight values of the bits out of the critical value level. $\begin{matrix} {P = {\sum\limits_{i = 0}^{n}\quad {V_{i} \cdot W_{i}}}} & (1) \end{matrix}$

[0042] Here, V_(i) indicates the number of data larger than the critical value and W_(i) indicates the correspond weight value.

[0043] The penalty of the first digital data stream is 28 since V_(i) is 14. Also, the penalty of the second digital data stream is 22 since V_(i) is 11. Therefore, the first digital data having a smaller DSV stream is selected.

[0044] (2) Method for Selecting Digital Data Stream Using Multiple Critical Levels and the Correspond Weight Values.

[0045]FIGS. 7a and 7 b are graphs showing the size of DSV of a plurality of critical values in FIGS. 5a and 5 b according to the present invention and the DSV of the digital data stream according to the multiple critical value levels M1, M2, . . . , −M2, . . . centering around the DSV of ‘0’ is indicated in the graph. At this time, values such as 0, 1, 2, . . . can be allocated to the weight values W1, W2, . . . of the critical values. Therefore, the penalty P of the digital data stream having a value out of the DSV of ‘0’ is obtained by the equation 2. $\begin{matrix} {P = {\sum\limits_{i = 0}^{n}\quad {V_{{th} - i} \cdot W_{{th} - i}}}} & (2) \end{matrix}$

[0046] V_(th-i) indicates the number of data which is larger than the critical value of V_(th), and W_(th-i) is the weight value allotted to the critical value of V_(th).

[0047] The penalty P of the first digital data stream is 17 (=20×0+11×1+2×2). Namely, the number of bits between 0 and M1 is 17 and the weight value is 0. Also, the number of bits of M1, larger than M1 and smaller than M2 is 13 and the weight value is 2.

[0048] The penalty P of the second digital data stream is 13 (=20×0+11×1+1×2). Namely, the number of bits between 0 and M1 is 20 and the weight value is 0. Also, the number of bits of M1, and between M1 and M2 is 11 and the weight value is 1. The number of bits larger than M2 is 1 and the weight value is 2.

[0049] Therefore, the second digital data stream is selected as a code word since the penalty P of the digital data stream divides the size of the DSV of the digital data stream precisely.

[0050] On the other hand, each pair of critical values centering around the DSV of ‘0’ have same critical values and as shown in FIG. 8a, the corresponding weight values are allocated to be same. However, without setting same critical values and weight values symmetrically, the penalty of the digital data stream can be obtained (FIG. 8b). Namely, FIG. 8a is a table showing a case in which each pair of weight values allocated to a plurality of critical values centering around the DSV of ‘0’ have same value symmetrically. FIG. 8b is a table showing the case in which the weight values allocated to upper critical values and those of lower critical values centering around the DSV of ‘0’ are different each other.

[0051] The method for modulating digital data and apparatus therefor in accordance with the present invention is described that digital data stream is determined using the DSV computed in bits. However, digital data stream is determined using the DSV calculated in bites or words actually.

[0052] Also, the weight values corresponding to the levels are allocated to the multiplier of 2, but other multipliers can be allocated.

[0053] The DSV calculating unit additionally includes an absolute value processing unit since it uses absolute values in case that the levels of DSV are set symmetrically.

[0054] Also, the method for modulating a digital data stream can be applied to EFM plus and guided scrambling methods.

[0055] The method for modulating digital data and apparatus therefor in accordance with the present invention can select digital data stream which will be modulated among a number of digital data streams precisely and swiftly by obtaining penalty using the DSV and corresponding weight value among inputted digital data stream and also it can reduce complexity of hardware. 

What is claimed is:
 1. A digital data modulating method comprising the steps of: comparing a preset critical value and DSV of a certain digital data stream; computing the penalty of the digital data stream by multiplying the number of the time that the DSV of the digital data stream is larger than the critical value by a preset weight value corresponding to the critical value; and comparing the penalty of the digital data stream and a penalty of another digital data stream to determine a digital data stream with a smaller penalty.
 2. The method of claim 1, wherein said preset critical values are plural.
 3. The method of claim 2, wherein a different weight value is allocated to each of the critical values.
 4. The method of claim 2, wherein the weight value increases in proportion to an increase in the critical values.
 5. The method of claim 2, wherein the weight value increases by a multiplier of 2 corresponding to the critical values.
 6. The method of claim 1, wherein the preset critical values have a different polarity.
 7. The method of claim 1, wherein the step of comparing the DSV is performed in terms of bit or byte or word included in the digital data stream.
 8. The method of claim 1, wherein the number of the critical values is two; and the penalty is obtained by an equation of ${P = {\sum\limits_{i = 0}^{n}\quad {V_{i} \cdot W_{i}}}};$

of which Vi indicates the number of data which is larger than the critical value, and W_(i) indicates a weight value thereof.
 9. The method of claim 8, wherein the preset critical values have different absolute values and different polarities.
 10. The method of claim 8, wherein the preset critical values are set as a pair having same absolute values and different polarities.
 11. The method of claim 1, wherein the number of the critical values is larger than two; and the penalty is obtained by an equation of ${P = {\sum\limits_{i = 0}^{n}\quad {V_{{th} - i} \cdot W_{{th} - i}}}};$

of which V_(th-i) indicates the number of data which is larger than the critical value, and W_(th-i) indicates a weight value allotted thereto.
 12. The method of claim 11, wherein the preset critical values have different absolute values and different polarities.
 13. The method of claim 11, wherein the preset critical values are set as pairs each having same absolute values and different polarities.
 14. A digital data modulating apparatus comprising: a DSV computing unit for computing a DSV of an inputted digital data; a DSV level detector for comparing the DSV and a preset critical value and outputting a weight value corresponding to the critical value; and a penalty generating unit for generating a penalty of the digital data stream by using the DSV and the weight value detected by the level detector.
 15. The apparatus of claim 14, wherein the DSV level detector includes: a plurality of level detectors for outputting the weight values corresponding to the DSV; a weight value switching unit for outputting the outputted weight values; and a weight value adder for adding the outputted weight values.
 16. The apparatus of claim 14, wherein the penalty generating unit generates the penalty of the digital data stream by multiplying the number of the time that the DSV of the digital data stream is larger than the critical value by the weight value. 